﻿<?php $this->load->view('admin/_header1') ?>

<div class="Main">	
	<?php
	echo $title;
	echo form_open_multipart("admin/setting/dosaveadv",array("id" => "formset"))
	?>
	<table cellpadding=5px cellspacing=5 >
		<tr height=30 >
			<td>Adv1's url: </td>
			<td><?php
			echo form_upload("userfile1","");	
			?><input type=hidden name="advurl1" value="<?=set_value("advurl1",$adv1);?>" style="width:300px" class="txd" /></td>
			<td>home page</td>
			<td><a href="<?=site_url($adv1)?>" target="_blank"><img src="<?=site_url($adv1)?>" width=116 height=60 /></a></td>
		</tr>
		
		<tr height=30>
			<td>Adv2's url: </td>
			<td><?php
			echo form_upload("userfile2","");	
			?><input type=hidden name="advurl2" value="<?=set_value("advurl2",$adv2);?>" style="width:300px"  class="txd" /></td>
			<td>login page</td>
			<td><a href="<?=site_url($adv2)?>" target="_blank"><img src="<?=site_url($adv2)?>" width=116 height=60 /></a></td>
		</tr>
		
		<tr height=30>
			<td>Adv3's url: </td>
			<td><?php
			echo form_upload("userfile3","");	
			?><input type=hidden name="advurl3" value="<?=set_value("advurl3",$adv3);?>" style="width:300px"  class="txd" /></td>
			<td></td>
			<td><a href="<?=site_url($adv3)?>" target="_blank"><img src="<?=site_url($adv3)?>" width=116 height=60 /></a></td>
			
		</tr>
		
		<tr height=30>
			<td>Adv4's url: </td>
			<td><?php
			echo form_upload("userfile4","");	
			?><input type=hidden name="advurl4" value="<?=set_value("advurl4",$adv4);?>" style="width:300px"  class="txd" /></td>
			<td></td>
			<td><a href="<?=site_url($adv4)?>" target="_blank"><img src="<?=site_url($adv4)?>" width=116 height=60 /></a></td>
		</tr>
		
		<tr height=30>
			<td></td>
			<td><input type=submit name="bbb" value="Save Setting" /></td>
			<td></td>
		</tr>
		
		<tr height=30>
			<td></td>
			<td>&nbsp;<span class="txred"><?=$message?></span></td>
			<td></td>
		</tr>
		
	</table>
	<?php
	echo form_close();
	?>
	<!--<table width=100% >
		<tr>
			<td><a href="<?=site_url($adv1)?>" target="_blank"><img src="<?=site_url($adv1)?>" width=116 height=60 /></a></td>
			<td><a href="<?=site_url($adv2)?>" target="_blank"><img src="<?=site_url($adv2)?>" width=116 height=60 /></a></td>			
		</tr>
		<tr>
			<td><a href="<?=site_url($adv3)?>" target="_blank"><img src="<?=site_url($adv3)?>" width=116 height=60 /></a></td>
			<td><a href="<?=site_url($adv4)?>" target="_blank"><img src="<?=site_url($adv4)?>" width=116 height=60 /></a></td>	
		</tr>	
	</table>-->
</div>
<?php $this->load->view('admin/_footer1') ?>